import { Component } from '@angular/core';
import { NavController, NavParams } from 'ionic-angular';



@Component({
  selector: 'page-factory-detail',
  templateUrl: 'detail.html'
})

export class FactoryDetailPage {
  factory:any
  constructor(
     public navCtrl: NavController,
     public param: NavParams
    ) { 
      this.factory =  param.get('factory')
      console.log(this.factory)
    }
}
